package com.shoppingwebsite.service;

import com.shoppingwebsite.domain.YtOrders;
import com.shoppingwebsite.domain.YtUser;

import java.util.List;

public interface OrderService {
    //添加一条订单
    public void add(YtUser user, String names, double priceAll);

    //得到所有订单
    public List<YtOrders> getOrders(String username);

}
